﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="itenspedido.aspx.cs" Inherits="Usuario_Pedidos_itenspedido" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <h1>Itens do pedido</h1>
    <asp:GridView ID="GVItensDoPedido" runat="server" AllowSorting="True" AutoGenerateColumns="False">
        <Columns>
            <asp:TemplateField HeaderText="Nome do Produto">
                <ItemTemplate>
                    <%#Eval("Produto.Nome")%>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Valor">
                <ItemTemplate><%#Eval("Preco")%></ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Quantidade">
                <ItemTemplate><%#Eval("Quantidade")%></ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Valor Total">
                <ItemTemplate>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</asp:Content>

